x86/hvm: Bind xen-created event channels to building domain
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Tue, 8 Jan 2013 09:37:38 +0000 (10:37 +0100)
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>
Tue, 8 Jan 2013 09:37:38 +0000 (10:37 +0100)
commit3c303591a61b0e0a8a9d5c067a112118850b54f8
treee92ed0f49f35545df19e28a89fee6c8efcf3f4a0
parent8bb51a72e2782395bdca456c54e3b0c64f74714c
x86/hvm: Bind xen-created event channels to building domain

Instead of using a hardcoded domain 0 as the endpoint for the event
channels created in hvm_vcpu_initialise, use the domain ID of the
building domain so that a domain builder in a domain other than dom0 has
the expected access to the event channels.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c